package com.yunji.cabinet.enums;

public enum UpgradeTaskStatus {
    TO_BE_START(0, "待开始"),
    BE_READY(1, "已就绪"),
    IN_PROGRESS(2,"进行中"),
    BE_FINISHED(3,"已完成"),
    BE_CANCEL(4,"已取消"),;

    private final Integer code;
    private final String text;

    UpgradeTaskStatus(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    public Integer getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
